package org.jeecg.modules.basic.entry.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 出入管理
 * @Author: jeecg-boot
 * @Date:   2020-12-04
 * @Version: V1.0
 */
@Data
@TableName("lwgy_inout_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_inout_record对象", description="出入管理")
public class LwgyInoutRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**第三方ID*/
	@Excel(name = "第三方ID", width = 15)
    @ApiModelProperty(value = "第三方ID")
    private java.lang.String guestId;
    /**studentId和personId*/
    @Excel(name = "系统中Id", width = 15)
    @ApiModelProperty(value = "系统中Id")
    private java.lang.String userId;
	/**用户名称*/
	@Excel(name = "用户名称", width = 15)
    @ApiModelProperty(value = "用户名称")
    private java.lang.String userName;
	/**进出方向-从字典中取数*/
    @Excel(name = "进出方向", width = 15, dicCode = "direction")
    @Dict(dicCode = "direction")
    @ApiModelProperty(value = "进出方向")
    private java.lang.String direction;
	/**人员身份类型-从字典中取数*/
    @Excel(name = "人员身份类型", width = 15, dicCode = "identity")
    @Dict(dicCode = "identity")
    @ApiModelProperty(value = "人员身份类型")
    private java.lang.String type;
	/**接待人ID*/
	@Excel(name = "接待人ID", width = 15)
    @ApiModelProperty(value = "接待人ID")
    private java.lang.String receiptId;
	/**接待人名字*/
	@Excel(name = "接待人名字", width = 15)
    @ApiModelProperty(value = "接待人名字")
    private java.lang.String receiptName;
	/**记录设备*/
	@Excel(name = "记录设备", width = 15)
    @ApiModelProperty(value = "记录设备")
    private java.lang.String equipment;
	/**记录日期，包含时间*/
	@Excel(name = "记录日期，包含时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "记录日期，包含时间")
    private java.util.Date recordDate;
	/**记录头像-可以是图片名称，也可以是图片url地址*/
	@Excel(name = "记录头像", width = 15)
    @ApiModelProperty(value = "记录头像")
    private java.lang.String headImg;
	/**记录模式-字典取数*/
    @Excel(name = "记录模式", width = 15, dicCode = "entrymode")
    @Dict(dicCode = "entrymode")
    @ApiModelProperty(value = "记录模式")
    private java.lang.String mode;
	/**证件照片-可以是图片名称，也可以是图片URL地址*/
	@Excel(name = "证件照片-可以是图片名称，也可以是图片URL地址", width = 15)
    @ApiModelProperty(value = "证件照片-可以是图片名称，也可以是图片URL地址")
    private java.lang.String idCard;
	/**设备位置*/
	@Excel(name = "设备位置", width = 15)
    @ApiModelProperty(value = "设备位置")
    private java.lang.String location;
	/**体温*/
	@Excel(name = "体温", width = 15)
    @ApiModelProperty(value = "体温")
    private java.lang.Double temperature;
	/**是否带口罩-1：佩戴；2：未佩戴*/
    @Excel(name = "是否带口罩", width = 15, dicCode = "mask")
    @Dict(dicCode = "mask")
    @ApiModelProperty(value = "是否带口罩")
    private java.lang.String ifMask;
	/**异常类型-字典取数，如果正常则为空*/
    @Excel(name = "异常类型", width = 15, dicCode = "abnormal")
    @Dict(dicCode = "abnormal")
    @ApiModelProperty(value = "异常类型")
    private java.lang.String abnormalType;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
